package com.penghaisoft.microwms.task.material.service.impl;

import com.penghaisoft.microwms.common.base.model.BaseUser;
import com.penghaisoft.microwms.task.material.service.IDemoService;
import com.penghaisoft.microwms.task.user.dao.BaseUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by zxcq0 on 2018/4/23.
 */
@Service
public class DemoServiceImpl implements IDemoService{
    @Autowired
    private BaseUserMapper baseUserMapper;
    @Override
    public BaseUser queryOne(BaseUser user) {
        return baseUserMapper.selectOneByCondition(user);
    }
}
